package com.arpa.wms.domain.vo;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 积分明细
 * </p>
 *
 * @author wangdong
 * @since 2021-07-05
 */
@Data
@ApiModel(value="PointsItem对象", description="积分明细")
public class PointsItemVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "费用标识")
    private String code;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;

    @ApiModelProperty(value = "所属机构名称")
    private String groupName;

    @ApiModelProperty(value = "仓库")
    private String warehouseCode;

    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "员工标识")
    private String partyCode;

    @ApiModelProperty(value = "变更类型：pack打包、exchange兑换、reward奖励")
    private String changeType;

    @ApiModelProperty(value = "变更积分")
    private BigDecimal points;

    @ApiModelProperty(value = "变更积分")
    private String changePoints;

    @ApiModelProperty(value = "剩余可用积分")
    private BigDecimal remainingAvailablePoints;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "删除标记")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreated;

    @ApiModelProperty(value = "修改人")
    private String modifiedBy;

    @ApiModelProperty(value = "修改时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "创建人名称")
    private String createdName;

    @ApiModelProperty(value = "修改人名称")
    private String modifiedName;

    @ApiModelProperty(value = "总数")
    private Long total;

    @ApiModelProperty(value = "员工积分")
    private BigDecimal employeePoints;

    @ApiModelProperty(value = "可用积分")
    private BigDecimal availablePoints;

    @ApiModelProperty(value = "网点编码")
    private String branchCode;

    @ApiModelProperty(value = "部门编码")
    private String departmentCode;

    @ApiModelProperty(value = "部门名称")
    private String departmentName;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "用工类型")
    private String employmentType;

    @ApiModelProperty(value = "劳务外包方")
    private String outsourcer;



}

